#define _CRT_SECURE_NO_WARNINGS 

#include"queue.h"

int main()
{
	qu q;
	initqu(&q);
	queuepush(&q, 1);
	queuepush(&q, 2);
	queuepush(&q, 3);
	queuepush(&q, 4);
	queuepop(&q);
	queuepop(&q);
	queuepop(&q);

	while (!queueempty(&q))
	{
		printf("%d---", queuehead(&q));
		queuepop(&q); 
	}
	qudestroy(&q);
	return 0;
}